using AiQiuQuan.Sport.Model.Enums;
using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 新增俱乐部会员dto
    /// </summary>
    public class ClubUserAddDto
    {
        /// <summary>
        /// 俱乐部ID
        /// </summary>
        [Required(ErrorMessage = "俱乐部ID必填")]
        public Guid ClubId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [Required(ErrorMessage = "用户ID必填")]
        public Guid UserId { get; set; }

        /// <summary>
        /// 俱乐部会员ID
        /// </summary>
        [Required(ErrorMessage = "俱乐部会员ID必填")]
        public Guid ClubRoleId { get; set; }

        /// <summary>
        /// 申请状态：0申请中、1已通过、2已拒绝
        /// </summary>
        [Required(ErrorMessage = "申请状态：0申请中、1已通过、2已拒绝必填")]
        public ClubUserApplyStateEnum ApplyState { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        [Required(ErrorMessage = "是否启用必填")]
        public bool IsEnable { get; set; }
    }
}
